Skip to main content

All Questions

2votes
1answer
70views

Iterator-Pattern for an iterator that returns one objects that changes

I wrote an algorithm that returns all k-sized subgraphs of another given graph. Because I don't want to make the runtime of the next() call of the iterator depended on k, I don't want to return a new ...
Moritz Groß's user avatar
3votes
4answers
4kviews

Iterator pattern/iterator class

I have implemented a simple iterator. Just want to check if I have missed anything. ...
p101's user avatar
  • 333

close